import axios from '@/utils/request'

/**
 * 添加检查记录
 */
export function inspectAdd(data) {
    return axios({
      url:"/v1/inspect/add",
      method:"post",
      data
    })
}

/**
 * 删除检查记录
 */
export function inspectDelete(params) {
    return axios({
      url:"/v1/inspect/delete",
      method:"get",
      params
    })
}

/**
 * 获取检查记录
 */
export function inspectGet(params) {
    return axios({
      url:"/v1/inspect/get",
      method:"get",
      params
    })
  }
  
  /**
   * 查询表格列表
   */
  export function inspectQuery(data) {
    return axios({
      url:"/v1/inspect/query",
      method:"post",
      data
    })
  }
  
  /**
   * 更新表格列表
   */
  export function inspectUpdate(data) {
    return axios({
      url:"/v1/inspect/update",
      method:"post",
      data
    })
  }